package com.ericom.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ericom.dao.MemberDao;
import com.ericom.model.Member;
import com.ericom.service.MemberManager;

@Service("memberManager")
public class MemberManagerImpl extends GenericManagerImpl<Member, Long> implements
		MemberManager {

	MemberDao memberDao;
	@Autowired
	public MemberManagerImpl(MemberDao memberDao){
		super(memberDao);
		this.memberDao=memberDao;
	}

	@Override
	public List<Member> findByUserName(String username) {

		return memberDao.findByUserName(username);
	}

}
